<template>
    <div>
        <el-dialog title="提示" :visible="dialogVisible" width="30%" >
            <span>这是一段信息</span>
            <span slot="footer" class="dialog-footer">
                <el-button @click="isVisible = close">取 消</el-button>
                <el-button type="primary" @click="isVisible = close">确 定</el-button>
            </span>
        </el-dialog>
    </div>
</template>

<script>
export default {
    data() {
        return {
            close: false
        };
    },
    props: {
        isVisible: Boolean,
        value: Object
    },
    methods: {

    },
    computed: {
        dialogVisible: function() {
            return this.isVisible
        }
    }
};
</script>
<style scoped>
</style>
